<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>弓友之家</title>
    <link rel="stylesheet" href="css/mui.css" />
    <link rel="stylesheet" href="fonts/iconfont.css" />
    <link rel="stylesheet" href="css/style.css" />
</head>
<body>
	<header class="mui-bar mui-bar-nav">
		<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
		<h1 class="mui-title">个人报名</h1>
		<!--<a class="mui-icon mui-icon-more-filled mui-pull-right shareBtn"></a>-->
	</header>
	<style>
		button{color: #ffffff; font-size: 16px; background: #ff4200; border-radius: 5px; padding: 7px 15%; margin-top: 15px; border: none;}
	</style>
	<div class="mui-content">
		<div class="sign-peo">
			<div class="mui-content-padded signpage mui-text-center">
				<div class="success-img"><img src="images/success.png"/></div>
				<h4>恭喜您报名成功，请及时关注比赛时间</h4>
				<div class="sign-peo mui-text-center">
					<img src="images/defaultimg.jpg" class="img" />
					<p>姓名 : <span class="name"></span></p>
					<p>性别：<span class="sex"></span></p>
					<p>电话：<span class="tel"></span></p>
					<p>地区：<span class="address"></span></p>
					<p>编号：<span class="code"></span></p>
				</div>
			</div>
		</div>
	</div>
	<script type="text/javascript" src="js/mui.min.js" ></script>
	<script type="text/javascript" src="js/jquery-1.8.3.min.js" ></script>
	<script type="text/javascript" src="js/uploadtx.js" ></script>
	<script type="text/javascript" src="js/distpicker.data.js" ></script>
	<script type="text/javascript" src="js/distpicker.js" ></script>
	<script type="text/javascript" src="js/common.js" ></script>
	<script type="text/javascript" charset="utf-8">
      	mui.init();
      	mui.plusReady(function(){
      		var _self = plus.webview.currentWebview();
			var	orderId = _self.orderId;
      		mui.ajax(H_SRC+'/amier/user/end_jump',{
				data:{
					token:token,
					type:1,
					order_num:orderId
				},
				dataType:'json',//服务器返回json格式数据
				type:'post',//HTTP请求类型
				timeout:10000,//超时时间设置为10秒；            
				success:function(data){
					var dataurl=data.data;
					if(data.code == 401)
					{
						mui.openWindow({
							url:'login.html',
							id:'login.html'
						})
					}else if(data.code == 1) 
					{
						var dataurl=data.data;
						$(".img").attr("src",H_SRC+''+dataurl.head_pic);
						$(".name").html(dataurl.name);
						$(".sex").html(dataurl.sex==1?"男":"女");
						$(".tel").html(dataurl.mobile);
						$(".address").html(dataurl.address);
						$(".code").html(dataurl.number);
					}else{ 
						mui.toast(data.msg);
					}
				},
				error:function(){
				}
			}) 
      	})
      	
    </script>
</body>
</html>